﻿using MediatR;

namespace Enterprise_Set.API.Application.Commands.Week1.BusinessEntities
{
    /// <summary>
    /// 企业添加字段
    /// </summary>
    public class EnterpriseCreareCommand:IRequest<THE_WIND_RISES.Common.Dtos.Result>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int EnterpriseId { get; set; }

        /// <summary>
        /// 企业名称
        /// </summary>
        public string EnterpriseName { get; set; }

        /// <summary>
        /// 企业简称
        /// </summary>
        public string EnterpriseAbbreviation { get; set; }

        /// <summary>
        /// 注册地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 法定代表人
        /// </summary>
        public string LegalRepresentative { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 电子邮件
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 成立日期
        /// </summary>
        public DateTime EstablishmentDate { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        //public DateTime? UpdDateTime { get; set; }

        /// <summary>
        /// 企业父级Id
        /// </summary>
        public int PId { get; set; } = 0;

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
